package cn.com.roy.thread.t3_2_6.join_more_test;

public class ThreadB extends Thread{

    @Override
    synchronized public void run() {
        super.run();
        try {
            System.out.println("begin B ThreadName = "+ currentThread().getName() + " " + System.currentTimeMillis()) ;
            Thread .sleep(5000);
            System.out.println("end B ThreadName = "+ currentThread().getName() + " " + System.currentTimeMillis()) ;
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
